﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 药品用量限制维护科室医生表
    /// </summary>
    public partial class DrugLimitConfigDetail
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 药品内码
        /// </summary>
        public int DrugId { get; set; }
        /// <summary>
        /// 限量类型 1 科室 2 医生
        /// </summary>
        public int LimitType { get; set; }
        /// <summary>
        /// 医生Id
        /// </summary>
        public int? DoctorId { get; set; }
        /// <summary>
        /// 科室Id
        /// </summary>
        public int? DeptId { get; set; }
        /// <summary>
        /// 全院限量
        /// </summary>
        public decimal? HospLimitNum { get; set; }
        /// <summary>
        /// 门诊限量
        /// </summary>
        public decimal? ClinicLimitNum { get; set; }
        /// <summary>
        /// 住院限量
        /// </summary>
        public decimal? WardLimitNum { get; set; }
        /// <summary>
        /// 包装因子
        /// </summary>
        public int PackFactor { get; set; }
        /// <summary>
        /// 医院编码
        /// </summary>
        public int HospitalId { get; set; }
        /// <summary>
        /// 状态 1启动 0停用
        /// </summary>
        public bool? Status { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 更新人
        /// </summary>
        public int UpdateBy { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
